const echartsPieOption: any = {
  title: {
    text: "",
    left: "center",
    top: 10,
    textStyle: {
      fontWeight: 500,
      fontSize: "12px",
      color: "#333333",
    },
  },
  tooltip: {
    trigger: "item",
  },
  series: [
    {
      name: "Access From",
      type: "pie",
      radius: ["30%", "55%"],
      center: ["50%", "60%"],
      avoidLabelOverlap: false,
      silent: true,
      label: {
        color: "rgba(0, 0, 0, .7)",
        fontSize: 10,
      },
      labelLayout: {
        hideOverlap: false, // 是否隐藏重叠标签
      },
      minAngle: 20, //最小角度
      startAngle: 30,
      labelLine: {
        lineStyle: {
          color: "rgba(0, 0, 0, .7)",
        },
        smooth: 0.2,
        length: 4,
        length2: 3,
      },
      data: [],
    },
  ],
};

export default echartsPieOption;
